<template>
    <div>
        <h2>News-content</h2>
        <p>NewsId:{{$route.params.id}}</p>
        <ul>
            <nuxt-link :to="{name:'index'}">Home</nuxt-link>
        </ul>
    </div>
</template>